package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Cheforder;
import org.hxyjs.entity.CheforderExample;

public interface CheforderMapper {
    long countByExample(CheforderExample example);

    int deleteByExample(CheforderExample example);

    int deleteByPrimaryKey(String cuno);

    int insert(Cheforder record);

    int insertSelective(Cheforder record);

    List<Cheforder> selectByExample(CheforderExample example);

    List<Cheforder> selectOrderWithUserByCno(String cno);

    List<Cheforder> getCheforderByPage(Map<String,Object> map);

    Cheforder selectByPrimaryKey(String cuno);

    int updateByExampleSelective(@Param("record") Cheforder record, @Param("example") CheforderExample example);

    int updateByExample(@Param("record") Cheforder record, @Param("example") CheforderExample example);

    int updateByPrimaryKeySelective(Cheforder record);

    int updateByPrimaryKey(Cheforder record);
}